package com.kaili.basic.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "库存明细")
public class BaseInStoreDetailAddDto {

  @ApiModelProperty("产品id")
  private Long productId;

  @ApiModelProperty("入门申请产品id")
  private Long applyProductId;

  @ApiModelProperty("重量")
  private Double weight;

  @ApiModelProperty("体积")
  private Double volume;

  @ApiModelProperty("数量")
  private Long amount;

  @ApiModelProperty("托盘数")
  private Long trays;

  @ApiModelProperty("仓库id")
  private Long storeId;

  @ApiModelProperty("库位id")
  private Long locationId;

  @ApiModelProperty("批次")
  private String batch;

  @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
  @ApiModelProperty("过期时间")
  private Date deadTime;
}
